//
//  GSCommonLoginVerificationCodeButton.h
//  GSLoginDemo
//
//  Created by guoshikeji_a on 2018/7/30.
//  Copyright © 2018年 guoshikeji. All rights reserved.
//

#import "QMUIButton.h"

typedef NS_ENUM(NSInteger,GSCommonLoginVerificationCodeStatus) {
    GSCommonLoginVerificationCodeStatusNormal = 0,
    GSCommonLoginVerificationCodeStatusWaiting = 1,//等待倒计时
    GSCommonLoginVerificationCodeStatusSending = 2,//请求中
    GSCommonLoginVerificationCodeStatusReSend,//重新发送
};

@interface GSCommonLoginVerificationCodeButton : QMUIButton

/**
 *verifyCodeStatus
 */
@property (nonatomic, assign) GSCommonLoginVerificationCodeStatus verifyCodeStatus;

/**
 *countdownTime default 60s
 */
@property (nonatomic, assign) NSTimeInterval countdownTime;

@end
